package com.example.forum.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.forum.entity.TRoles;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author why
 * @since 2019-10-30
 */
public interface ITRolesService extends IService<TRoles> {
    abstract  String[] getMenuCheckedPermissions(String roleid);
    abstract  String[] getNormalCheckedPermissions(String roleid);
    abstract List<Object> GetAllPermissionsForTree();
    abstract void deleteNormalPermissionsByRoleId(String roleid);
    abstract void deleteMenuPermissionsByRoleId(String roleid);
}
